﻿using BestEasyCMS.Service.Messages;
using BestEasyCMS.Service.Messages.Security.Request;
using BestEasyCMS.Service.Views.Security;

namespace BestEasyCMS.Service.Interfaces.Security
{
    public interface IRoleService:IService<RoleView,long>
    {
        /// <summary>
        /// 新增一条数据
        /// </summary>
        /// <param name="view"></param>
        /// <returns></returns>
        ResponseBase Add(RoleView view);

        FindPageResponse<RoleView> GetRolesPageBy(GetRolesPageByRequest request);
    }
}
